namespace LeanUi.ImageBundle
{
    public static class StringParseExtensions
    {
        public static string ExtractInner(this string source, string startToken, string endToken)
        {
            var start = source.IndexOf(startToken) + startToken.Length;
            var ende = source.IndexOf(endToken, start + startToken.Length + 1);
            return source.Substring(start, ende - start);
        }
    }
}